package com.ruoyi.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.mapper.TPersonProjectPerformanceMapper;
import com.ruoyi.domain.TPersonProjectPerformance;
import com.ruoyi.service.ITPersonProjectPerformanceService;

/**
 * 个人项目业绩(项目库的负责人)Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-11-06
 */
@Service
public class TPersonProjectPerformanceServiceImpl implements ITPersonProjectPerformanceService 
{
    @Autowired
    private TPersonProjectPerformanceMapper tPersonProjectPerformanceMapper;

    /**
     * 查询个人项目业绩(项目库的负责人)
     * 
     * @param id 个人项目业绩(项目库的负责人)主键
     * @return 个人项目业绩(项目库的负责人)
     */
    @Override
    public List<TPersonProjectPerformance> selectTPersonProjectPerformanceById(Long id)
    {
        return tPersonProjectPerformanceMapper.selectTPersonProjectPerformanceById(id);
    }

    /**
     * 查询个人项目业绩(项目库的负责人)列表
     * 
     * @param tPersonProjectPerformance 个人项目业绩(项目库的负责人)
     * @return 个人项目业绩(项目库的负责人)
     */
    @Override
    public List<TPersonProjectPerformance> selectTPersonProjectPerformanceList(TPersonProjectPerformance tPersonProjectPerformance)
    {
        tPersonProjectPerformance.setDelFlag(0);
        return tPersonProjectPerformanceMapper.selectTPersonProjectPerformanceList(tPersonProjectPerformance);
    }


}
